namespace ScrumSprintMonitor.ServerAdapter.TFS.TemplateAdaptors
{
	#region #using Directives

	using System.ComponentModel.Composition;

	using Infrastructure;

	using Isolation.TeamFoundationServer;

	#endregion

	[Export(typeof(IProcessTemplateAdapter))]
	public class VSTSScrumProcessTemplateAdapter : IProcessTemplateAdapter
	{
		#region IProcessTemplateAdapter Members

		public string ProcessTemplateName
		{
			get { return "Light Weight Scrum"; }
		}

		public IWorkItemAdapter AdaptWorkItem(object workItem)
		{
			return new VSTSScrumWorkItemAdapter((IWorkItem) workItem);
		}

		public string[] WorkItemTypeNames
		{
			get { return new[] {"BackLogItem", "User Story", "Defect"}; }
		}

		#endregion
	}
}